<script setup lang="ts">
  
  import {ArrowLeft} from "@element-plus/icons-vue";
  import {useRouter} from "vue-router";
  
  const router = useRouter()
</script>

<template>
  <div class="box">
    <el-button :icon="ArrowLeft" size="large" link @click="router.go(-1)">back</el-button>
  </div>
</template>

<style scoped lang="scss">
  .box {
    width: 100%;
    line-height: 1;
    padding: 3px 0;
    position: fixed;
    top: 0;
    left: 0;
  }
</style>